package com.sgam.mf.domain.stock;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.sgam.mf.domain.entity.AbstractAuditableEntity;
import com.sgam.mf.domain.ref.RefGift;

@Entity
@Table(name = "STOCK_OPERATION")
public class StockOperation extends AbstractAuditableEntity {

     
	@ManyToOne
	@JoinColumn(name = "ref_gift_fk")		
    private RefGift refGift;
	
	@Column(name = "cantitate")
	private Integer cantitate;
	
    //stock_document_fk NUMERIC NOT NULL,	
	
 
	public RefGift getRefGift() {
		return refGift;
	}


	public void setRefGift(RefGift refGift) {
		this.refGift = refGift;
	}

	public Integer getCantitate() {
		return cantitate;
	}

	public void setCantitate(Integer cantitate) {
		this.cantitate = cantitate;
	}
	
}
